#include <stdio.h>


int My_strcmp(char * num_1,char * num_2)
{
    while (*num_1)
    {
        if (*num_1 == *num_2)
        {
            return 0;
        }
        else if (*num_1 > *num_2)
        {
            return 1;
            break;
        }
        else if (*num_1 < *num_2)
        {
            return -1;
            break;
        }
        num_1++;
        
    }
    return 0;
}

int main(int argc, char const *argv[])
{
    char arr[10] = "123";
    char arr1[10] = "234";
     printf("%d\n", My_strcmp(arr, arr1));
    return 0;
}
